import request from "@/utils/request";

export default {
  /**查询申请工程师入驻列表 */
  engineerList: (params) => {
    return request({
      url: "/wb/engineer/list",
      method: "get",
      params,
    });
  },

  /**工程师通过或驳回 */
  engineerCheck: (data) => {
    return request({
      url: "/wb/engineer",
      method: "put",
      data,
    });
  },

  /**获取工程师职位 */
  positionList: (data) => {
    return request({
      url: "/system/dict/data/type/position_type",
      method: "get",
    });
  },

  /**删除工程师列表 */
  delEngineer: (data) => {
    return request({
      url: `/wb/engineer/${data}`,
      method: "delete",
    });
  },
};
